package top.yueyazhui.mysql_audit_log.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.yueyazhui.mysql_audit_log.service.IAuditLogService;
import top.yueyazhui.mysql_audit_log.util.ShellUtil;

import java.util.Map;

@Service
public class AuditLogServiceImpl implements IAuditLogService {

    @Autowired
    ShellUtil shellUtil;

    @Override
    public Map<String, Object> getAuditLog(Integer count, String[] params) {
        return shellUtil.getAuditLog(count, params);
    }
}
